﻿<controls:ChildWindow x:Class="SGTLightAccent.Views.NuevoDepositoWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="357" Height="279" 
           Title="Nuevo Deposito" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           DataContext="{Binding Depositos, Source={StaticResource Locator}}">
    
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="176*" />
            <RowDefinition Height="64" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Guardar" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,9,22,20" Grid.Row="1" Command="{Binding Path=BotonGuardarDeposito}" />
        <Button x:Name="OKButton" Content="Cancelar" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,9,111,20" Grid.Row="1" />
        <sdk:Label Content="Nombre" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,12,228,0" Name="label1" VerticalAlignment="Top" Width="77" />
        <sdk:Label Content="Dirección" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,0,228,93" Name="label2" VerticalAlignment="Bottom" Width="77" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="122,12,0,0" Name="textBox1" Text="{Binding Path=NuevoDeposito.Nombre, Mode=TwoWay}" VerticalAlignment="Top" Width="191" />
        <TextBox Height="106" HorizontalAlignment="Left" Margin="122,55,0,0" Name="textBox2" Text="{Binding Path=NuevoDeposito.Direccion, Mode=TwoWay}" VerticalAlignment="Top" Width="191" TextWrapping="Wrap" AcceptsReturn="True" />
    </Grid>
</controls:ChildWindow>